package com.zz.springboot.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Table(name = "sys_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysPermission {
    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 权限名称
     */
    @Column(name = "perm_name")
    private String permName;

    /**
     * 权限描述
     */
    @Column(name = "description")
    private String description;

}